<#--@ftlvariable name="categorys" type ="java.util.List<nxu.entity.Category>"-->
<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>文章发布</title>
</head>
<body>
<form action="/post/save" method="post" autocomplete="off">
    标题：<input type="text" name="title" id="title" placeholder="请输入标题"></br>

    分类：<select name="cid" id="cid">
        <option value="">请选择分类</option>
        <#list categorys as catagory >
            <option value="${catagory.cid}">${catagory.cname!""}</option>
        </#list>

    </select></br>

    内容：<textarea name="content" id="content" cols="50" rows="10"></textarea>
</br>
    <input type="submit" value="提交">
</form>


</body>
</html>